class BalChecker{
	boolean overUnder, ignorep;
	int balCheckAgainst;
	
	BalChecker(int balCheckAgainst, boolean overUnder){
		this.balCheckAgainst = balCheckAgainst;
		ignorep = false;
	}
	
	BalChecker(){
		ignorep = true;
	}
	
	boolean check(int bal){
		if (ignorep == true)
			return ignorep;
		else return (bal > balCheckAgainst) == overUnder;
	}
}